package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

/**
 * 【预警推送】对象 m_warning_push
 * 
 * @author dataControl
 * @date 2025-09-15
 */
public class MWarningPush
{

    /** 系统编号 */
    private Long warningPushId;

    /** 预警ID */
    @Excel(name = "预警ID")
    private Long warningId;

    /** 预警推送内容 */
    @Excel(name = "预警推送内容")
    private String warningPushContent;

    /** 预警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warningPushTime;

    /** 预警推送状态 */
    @Excel(name = "预警推送状态")
    private Long warningPushStatus;

    /** 预警推送结果 */
    @Excel(name = "预警推送结果")
    private String warningPushResult;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date createTime;

    /** 更新者 */
    @Excel(name = "创建人")
    private String createBy;

    /** $column.columnComment */
    @Excel(name = "预警类型", readConverterExp = "$column.readConverterExp()")
    private Long warningType;

    /** 预警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date warningTime;

    /** 仓位编码 */
    @Excel(name = "仓位编码")
    private String storeLocationCode;

    /** 仓位编码 */
    @Excel(name = "仓位名称")
    private String storeLocationName;

    @Excel(name = "预置点位ID")
    private String presetId;

    @Excel(name = "设备名称")
    private String equipmentName;

    @Excel(name = "设备编码")
    private String equipmentCode;

    /**
     * 指令执行开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "推送开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date warningPushStartTime;

    /**
     * 指令执行结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "推送结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date warningPushEndTime;

    public Long getWarningType() {
        return warningType;
    }

    private String key;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }


    @Override
    public String toString() {
        return "MWarningPush{" +
                "warningPushId=" + warningPushId +
                ", warningId=" + warningId +
                ", warningPushContent='" + warningPushContent + '\'' +
                ", warningPushTime=" + warningPushTime +
                ", warningPushStatus=" + warningPushStatus +
                ", warningPushResult='" + warningPushResult + '\'' +
                ", createTime=" + createTime +
                ", createBy='" + createBy + '\'' +
                ", warningType=" + warningType +
                ", warningTime=" + warningTime +
                ", storeLocationCode='" + storeLocationCode + '\'' +
                ", storeLocationName='" + storeLocationName + '\'' +
                ", presetId='" + presetId + '\'' +
                ", equipmentName='" + equipmentName + '\'' +
                ", equipmentCode='" + equipmentCode + '\'' +
                ", warningPushStartTime=" + warningPushStartTime +
                ", warningPushEndTime=" + warningPushEndTime +
                '}';
    }

    public void setWarningType(Long warningType) {
        this.warningType = warningType;
    }

    public Date getWarningTime() {
        return warningTime;
    }

    public void setWarningTime(Date warningTime) {
        this.warningTime = warningTime;
    }

    public String getStoreLocationCode() {
        return storeLocationCode;
    }

    public void setStoreLocationCode(String storeLocationCode) {
        this.storeLocationCode = storeLocationCode;
    }

    public String getStoreLocationName() {
        return storeLocationName;
    }

    public void setStoreLocationName(String storeLocationName) {
        this.storeLocationName = storeLocationName;
    }

    public String getPresetId() {
        return presetId;
    }

    public void setPresetId(String presetId) {
        this.presetId = presetId;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public Date getWarningPushStartTime() {
        return warningPushStartTime;
    }

    public void setWarningPushStartTime(Date warningPushStartTime) {
        this.warningPushStartTime = warningPushStartTime;
    }

    public Date getWarningPushEndTime() {
        return warningPushEndTime;
    }

    public void setWarningPushEndTime(Date warningPushEndTime) {
        this.warningPushEndTime = warningPushEndTime;
    }

    public Long getWarningPushId() {
        return warningPushId;
    }

    public void setWarningPushId(Long warningPushId) {
        this.warningPushId = warningPushId;
    }

    public Long getWarningId() {
        return warningId;
    }

    public void setWarningId(Long warningId) {
        this.warningId = warningId;
    }

    public void setWarningPushContent(String warningPushContent)
    {
        this.warningPushContent = warningPushContent;
    }

    public String getWarningPushContent()
    {
        return warningPushContent;
    }

    public void setWarningPushTime(Date warningPushTime)
    {
        this.warningPushTime = warningPushTime;
    }

    public Date getWarningPushTime()
    {
        return warningPushTime;
    }

    public void setWarningPushStatus(Long warningPushStatus)
    {
        this.warningPushStatus = warningPushStatus;
    }

    public Long getWarningPushStatus()
    {
        return warningPushStatus;
    }

    public void setWarningPushResult(String warningPushResult)
    {
        this.warningPushResult = warningPushResult;
    }

    public String getWarningPushResult()
    {
        return warningPushResult;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

}
